//
//  YFJourneyTagView.h
//  project
//
//  Created by Winny Zhang on 2019/3/23.
//  Copyright © 2019 健健. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface YFJourneyTagView : UIView
/**
 根据标签内容创建标签
 只显示一行标签
 
 @param frame 标签容器 View Frame
 @param tags 标签数组
 @param colors 标签颜色
 @return 返回带有标签的View
 */
- (instancetype)initWithFrame:(CGRect)frame tags:(NSArray<NSString *> *)tags colors:(NSArray<UIColor *> *)colors;
- (instancetype)initWithFrame:(CGRect)frame tags:(NSArray<NSString *> *)tags sameColor:(UIColor *)color;
@end

NS_ASSUME_NONNULL_END
